import request from '@/utils/request'
// 根据商品名称搜索商品
export const searchgoods = params => request.get('/api/vm-service/sku/search', { params })
// 新增商品
export const addGoods = data => request.post('api/vm-service/sku', data)
// 修改商品类型
export const editGoods = (data, skuId) => request.put(`api/vm-service/sku/${skuId}`, data)
// 商品数据导入
export const inputGoods = data => request.post('/api/vm-service/sku/upload', data)
